// had enabled by egg
// exports.static = true;

// mongoose
exports.mongoose = {
  enable: true,
  package: 'egg-mongoose',
};


// redis
exports.redis = {
  enable: true,
  package: 'egg-redis',
};

// session redis store
exports.sessionRedis = {
  enable: true,
  package: 'egg-session-redis',
};


exports.userrole = {
  enable: true,
  package: 'egg-userrole',
};

exports.userService = {
  enable: true,
  package: 'egg-userservice',
};

exports.security = {
  // csrf: false
  ignore: ctx => isInnerIp(ctx.ip),
};

exports.static = {
  enable: true,
  package: 'egg-static',
};
